package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 服务业务关联表Entity
 *
 * @author generator
 * @date 2020-03-12 17:08
 */
@MyTable(value = "ServiceBusinessItemEntity", name = "service_business_item", comment = "服务业务关联表")
public class ServiceBusinessItemEntity extends BaseEntity {
    /**
     * 业务类型
     */
    @MyColumn(value = "businessType", name = "business_type", comment = "业务类型", required = true)
    private String businessType;

    /**
     * 服务项目外键
     */
    @MyColumn(value = "serviceItemId", name = "service_item_id", comment = "服务项目外键", required = true)
    private Integer serviceItemId;


    public String getBusinessType() {
        return businessType;
    }

    public ServiceBusinessItemEntity setBusinessType(String businessType) {
        this.businessType = businessType;
        return this;
    }

    public Integer getServiceItemId() {
        return serviceItemId;
    }

    public ServiceBusinessItemEntity setServiceItemId(Integer serviceItemId) {
        this.serviceItemId = serviceItemId;
        return this;
    }
}